Integrand size = 35, antiderivative size = 228 \[ \int \frac {(a+a \sec (c+d x))^{3/2} (A+B \sec (c+d x))}{\sec ^{\frac {9}{2}}(c+d x)} \, dx=\frac {2 a^2 (10 A+9 B) \sin (c+d x)}{63 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {2 a^2 (34 A+39 B) \sin (c+d x)}{105 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {8 a^2 (34 A+39 B) \sin (c+d x)}{315 d \sqrt {\sec (c+d x)} \sqrt {a+a \sec (c+d x)}}+\frac {16 a^2 (34 A+39 B) \sqrt {\sec (c+d x)} \sin (c+d x)}{315 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a A \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{9 d \sec ^{\frac {7}{2}}(c+d x)} \]
[Out]
Time = 0.63 (sec) , antiderivative size = 228, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.114, Rules used = {4102, 4100, 3890, 3889} \[ \int \frac {(a+a \sec (c+d x))^{3/2} (A+B \sec (c+d x))}{\sec ^{\frac {9}{2}}(c+d x)} \, dx=\frac {2 a^2 (34 A+39 B) \sin (c+d x)}{105 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}+\frac {2 a^2 (10 A+9 B) \sin (c+d x)}{63 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}+\frac {16 a^2 (34 A+39 B) \sin (c+d x) \sqrt {\sec (c+d x)}}{315 d \sqrt {a \sec (c+d x)+a}}+\frac {8 a^2 (34 A+39 B) \sin (c+d x)}{315 d \sqrt {\sec (c+d x)} \sqrt {a \sec (c+d x)+a}}+\frac {2 a A \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)} \]
[In]
[Out]
Rule 3889
Rule 3890
Rule 4100
Rule 4102
Rubi steps \begin{align*} \text {integral}& = \frac {2 a A \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{9 d \sec ^{\frac {7}{2}}(c+d x)}+\frac {2}{9} \int \frac {\sqrt {a+a \sec (c+d x)} \left (\frac {1}{2} a (10 A+9 B)+\frac {3}{2} a (2 A+3 B) \sec (c+d x)\right )}{\sec ^{\frac {7}{2}}(c+d x)} \, dx \\ & = \frac {2 a^2 (10 A+9 B) \sin (c+d x)}{63 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {2 a A \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{9 d \sec ^{\frac {7}{2}}(c+d x)}+\frac {1}{21} (a (34 A+39 B)) \int \frac {\sqrt {a+a \sec (c+d x)}}{\sec ^{\frac {5}{2}}(c+d x)} \, dx \\ & = \frac {2 a^2 (10 A+9 B) \sin (c+d x)}{63 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {2 a^2 (34 A+39 B) \sin (c+d x)}{105 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {2 a A \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{9 d \sec ^{\frac {7}{2}}(c+d x)}+\frac {1}{105} (4 a (34 A+39 B)) \int \frac {\sqrt {a+a \sec (c+d x)}}{\sec ^{\frac {3}{2}}(c+d x)} \, dx \\ & = \frac {2 a^2 (10 A+9 B) \sin (c+d x)}{63 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {2 a^2 (34 A+39 B) \sin (c+d x)}{105 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {8 a^2 (34 A+39 B) \sin (c+d x)}{315 d \sqrt {\sec (c+d x)} \sqrt {a+a \sec (c+d x)}}+\frac {2 a A \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{9 d \sec ^{\frac {7}{2}}(c+d x)}+\frac {1}{315} (8 a (34 A+39 B)) \int \frac {\sqrt {a+a \sec (c+d x)}}{\sqrt {\sec (c+d x)}} \, dx \\ & = \frac {2 a^2 (10 A+9 B) \sin (c+d x)}{63 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {2 a^2 (34 A+39 B) \sin (c+d x)}{105 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {8 a^2 (34 A+39 B) \sin (c+d x)}{315 d \sqrt {\sec (c+d x)} \sqrt {a+a \sec (c+d x)}}+\frac {16 a^2 (34 A+39 B) \sqrt {\sec (c+d x)} \sin (c+d x)}{315 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a A \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{9 d \sec ^{\frac {7}{2}}(c+d x)} \\ \end{align*}
Time = 0.52 (sec) , antiderivative size = 110, normalized size of antiderivative = 0.48 \[ \int \frac {(a+a \sec (c+d x))^{3/2} (A+B \sec (c+d x))}{\sec ^{\frac {9}{2}}(c+d x)} \, dx=\frac {2 a^2 \left (35 A+5 (17 A+9 B) \sec (c+d x)+3 (34 A+39 B) \sec ^2(c+d x)+4 (34 A+39 B) \sec ^3(c+d x)+8 (34 A+39 B) \sec ^4(c+d x)\right ) \sin (c+d x)}{315 d \sec ^{\frac {7}{2}}(c+d x) \sqrt {a (1+\sec (c+d x))}} \]
[In]
[Out]
Time = 5.10 (sec) , antiderivative size = 123, normalized size of antiderivative = 0.54
method | result | size |
default | \(\frac {2 a \left (35 A \cos \left (d x +c \right )^{4}+85 A \cos \left (d x +c \right )^{3}+45 B \cos \left (d x +c \right )^{3}+102 A \cos \left (d x +c \right )^{2}+117 B \cos \left (d x +c \right )^{2}+136 A \cos \left (d x +c \right )+156 B \cos \left (d x +c \right )+272 A +312 B \right ) \sqrt {a \left (1+\sec \left (d x +c \right )\right )}\, \tan \left (d x +c \right )}{315 d \left (\cos \left (d x +c \right )+1\right ) \sec \left (d x +c \right )^{\frac {3}{2}}}\) | \(123\) |
parts | \(\frac {2 A a \left (35 \cos \left (d x +c \right )^{4}+85 \cos \left (d x +c \right )^{3}+102 \cos \left (d x +c \right )^{2}+136 \cos \left (d x +c \right )+272\right ) \sqrt {a \left (1+\sec \left (d x +c \right )\right )}\, \tan \left (d x +c \right )}{315 d \left (\cos \left (d x +c \right )+1\right ) \sec \left (d x +c \right )^{\frac {3}{2}}}+\frac {2 B a \left (15 \cos \left (d x +c \right )^{3}+39 \cos \left (d x +c \right )^{2}+52 \cos \left (d x +c \right )+104\right ) \sqrt {a \left (1+\sec \left (d x +c \right )\right )}\, \tan \left (d x +c \right )}{105 d \left (\cos \left (d x +c \right )+1\right ) \sec \left (d x +c \right )^{\frac {3}{2}}}\) | \(158\) |
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 132, normalized size of antiderivative = 0.58 \[ \int \frac {(a+a \sec (c+d x))^{3/2} (A+B \sec (c+d x))}{\sec ^{\frac {9}{2}}(c+d x)} \, dx=\frac {2 \, {\left (35 \, A a \cos \left (d x + c\right )^{5} + 5 \, {\left (17 \, A + 9 \, B\right )} a \cos \left (d x + c\right )^{4} + 3 \, {\left (34 \, A + 39 \, B\right )} a \cos \left (d x + c\right )^{3} + 4 \, {\left (34 \, A + 39 \, B\right )} a \cos \left (d x + c\right )^{2} + 8 \, {\left (34 \, A + 39 \, B\right )} a \cos \left (d x + c\right )\right )} \sqrt {\frac {a \cos \left (d x + c\right ) + a}{\cos \left (d x + c\right )}} \sin \left (d x + c\right )}{315 \, {\left (d \cos \left (d x + c\right ) + d\right )} \sqrt {\cos \left (d x + c\right )}} \]
[In]
[Out]
Timed out. \[ \int \frac {(a+a \sec (c+d x))^{3/2} (A+B \sec (c+d x))}{\sec ^{\frac {9}{2}}(c+d x)} \, dx=\text {Timed out} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 700 vs. \(2 (198) = 396\).
Time = 0.54 (sec) , antiderivative size = 700, normalized size of antiderivative = 3.07 \[ \int \frac {(a+a \sec (c+d x))^{3/2} (A+B \sec (c+d x))}{\sec ^{\frac {9}{2}}(c+d x)} \, dx=\text {Too large to display} \]
[In]
[Out]
\[ \int \frac {(a+a \sec (c+d x))^{3/2} (A+B \sec (c+d x))}{\sec ^{\frac {9}{2}}(c+d x)} \, dx=\int { \frac {{\left (B \sec \left (d x + c\right ) + A\right )} {\left (a \sec \left (d x + c\right ) + a\right )}^{\frac {3}{2}}}{\sec \left (d x + c\right )^{\frac {9}{2}}} \,d x } \]
[In]
[Out]
Time = 17.38 (sec) , antiderivative size = 155, normalized size of antiderivative = 0.68 \[ \int \frac {(a+a \sec (c+d x))^{3/2} (A+B \sec (c+d x))}{\sec ^{\frac {9}{2}}(c+d x)} \, dx=\frac {a\,\cos \left (c+d\,x\right )\,\sqrt {\frac {1}{\cos \left (c+d\,x\right )}}\,\sqrt {\frac {a\,\left (\cos \left (c+d\,x\right )+1\right )}{\cos \left (c+d\,x\right )}}\,\left (4830\,A\,\sin \left (c+d\,x\right )+5460\,B\,\sin \left (c+d\,x\right )+1428\,A\,\sin \left (2\,c+2\,d\,x\right )+513\,A\,\sin \left (3\,c+3\,d\,x\right )+170\,A\,\sin \left (4\,c+4\,d\,x\right )+35\,A\,\sin \left (5\,c+5\,d\,x\right )+1428\,B\,\sin \left (2\,c+2\,d\,x\right )+468\,B\,\sin \left (3\,c+3\,d\,x\right )+90\,B\,\sin \left (4\,c+4\,d\,x\right )\right )}{2520\,d\,\left (\cos \left (c+d\,x\right )+1\right )} \]
[In]
[Out]